EntryDeserializer
Deserializes individual entries in a complex Entry
SAM: deserializeEntry takes a TomlElement, errorBuilder list, fieldName, and ignoreNonSync boolean, returns ValidationResult
Author
fzzyhmstrs
Since
0.2.0, added deserializedChanged 0.6.0
Parameters
T
the type of the Entry stored value
Inheritors
Functions
Link copied to clipboard
Specialized equals
method for determining if a newly deserialized value is effectively equal to its old counterpart.
Link copied to clipboard
abstract fun deserializeEntry(toml: TomlElement, errorBuilder: MutableList<String>, fieldName: String, flags: Byte): ValidationResult<T>
Deserializes the provided TomlElement. This deserialization should store the result within this deserializer (deserialize "in-place") as well as returning the result. The return has to have a fallback value.